import request from '@/utils/request'

// 查询美妆报表列表
export function listMakeup(query) {
  return request({
    url: '/system/makeup/list',
    method: 'get',
    params: query
  })
}

// 查询美妆报表详细
export function getMakeup(id) {
  return request({
    url: '/system/makeup/' + id,
    method: 'get'
  })
}

// 新增美妆报表
export function addMakeup(data) {
  return request({
    url: '/system/makeup',
    method: 'post',
    data: data
  })
}

// 修改美妆报表
export function updateMakeup(data) {
  return request({
    url: '/system/makeup',
    method: 'put',
    data: data
  })
}

// 删除美妆报表
export function delMakeup(id) {
  return request({
    url: '/system/makeup/' + id,
    method: 'delete'
  })
}
